
package org.femto.compmod.vis;
import javax.media.opengl.GL;

public interface ColorMapper {
    public double[] map(double[] x, int dimension);

    public void preprocess(double[] xmin, double[] xmax);
    public void finalize();

    /** Render the Color Mapper's "gradient" visualization in [0,1]^2 */
    public void render(GL gl);
}
